package com.jk.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * @author 段卓帆
 * @date 2021/6/30 19:08
 * @return 评论实体类
 */

@Data
@TableName(value = "travel_comment")
@ApiModel("评论实体类")
public class CommentPO {

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty("评论编号")
    private Integer id;
    @TableField(value = "commentname")
    @ApiModelProperty("评论标题")
    private String commentname;
    @TableField(value = "areaname")
    @ApiModelProperty("景区名称")
    private String areaname;
    @TableField(value = "commentinfo")
    @ApiModelProperty("评论内容")
    private String commentinfo;
    @TableField(value = "trafficsituation")
    @ApiModelProperty("交通星级别")
    private Integer trafficsituation;
    @TableField(value = "hotelsituation")
    @ApiModelProperty("酒店舒适程度")
    private Integer hotelsituation;
    @TableField(value = "entertainment")
    @ApiModelProperty("娱乐程度")
    private Integer entertainment;
    @TableField(value = "commenttime")
    @ApiModelProperty("评论时间")
    private String commenttime;
    @TableField(value = "uid")
    @ApiModelProperty("关联用户id")
    private Integer uid;

}
